package com.nine.spi.impl;

import com.nine.spi.inter.Car;

/**
 * 实际使用的汽车
 */
public class AodiCar implements Car {

    @Override
    public void start() {
        System.out.println("奥迪汽车启动");
    }

    @Override
    public void run() {
        System.out.println("奥迪汽车行驶");
    }

    @Override
    public void stop() {
        System.out.println("奥迪汽车停止");
    }

    @Override
    public boolean isSupport(String name) {
        if ("aodi".equals(name)){
            return true;
        }
        return false;
    }
}
